<?php
    $json = '{"name": "test","value": "12"}';
    // $json = json_encode($json);
    // echo $json;
    // var_dump(json_decode($json, true));
    // $json = "{"user_type":"1","user_code":"employer","user_name":"employer","page":1,"pageSize":30}";
    $json = json_decode($json, true);
    echo $json["name"];
?>